namespace MetaObjects.Contracts
{
	public interface IUnitOfWork : IEntity
	{
		void Add(IEntity entity);
		void Update(IEntity entity);
		void Delete(IEntity entity);
		void SubmitChanges();
	}

	public interface IUnitOfWork<TKey> : IEntity<TKey>, IUnitOfWork
	{
	}
}